package com.yc.cloud.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * @author 杨智杰
 * @date 2021/8/13 9:17
 */
@Data
@Accessors(chain = true)
public class Login {
    @NotBlank
    @ApiModelProperty(value = "登录账号", required = true)
    private String loginName;

    @NotBlank
    @ApiModelProperty(value = "登陆密码", required = true)
    private String password;

    @ApiModelProperty(value = "验证码序号")
    private String serial;

    @ApiModelProperty(value = "验证码")
    private String code;

    @ApiModelProperty(value = "token有效时长(秒)")
    private Long tokenValidTime;
}
